package com.jy.wms.pojo;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.jy.wms.common.base.BaseModel;
import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotEmpty;

import java.io.Serializable;

/**
 * WmsCustomerFileConsignee 实体类 （客户表_收货人详细）
 * Thu Oct 12 11:37:04 CST 2017 Liyi
 */

@SuppressWarnings("serial")
@TableName("wms_customer_file_consignee")
public class WmsCustomerFileConsignee extends BaseModel implements Serializable {
 private String id; 	//ID
    @NotEmpty(message = "所属客户ID不能为空")
 private String sskhid; 	//所属客户ID
    @NotEmpty(message = "省不能为空")
 private String sheng; 	//省
    @NotEmpty(message = "市不能为空")
 private String shi; 	//市
    @NotEmpty(message = "详细地址不能为空")
    @Length(min = 1, max = 255, message = "详细地址 长度必须位于1到255之间")
 private String xxdz; 	//详细地址
    @NotEmpty(message = "联系人不能为空")
    @Length(min = 1, max = 64, message = "联系人长度必须位于1到64之间")
 private String lxr; 	//联系人
    @NotEmpty(message = "联系电话不能为空")
    @Length(min = 1, max = 64, message = "联系电话长度必须位于1到64之间")
 private String lxdh; 	//联系电话
 private String sfyx; 	//是否有效 0无效 1有效
    @TableField(exist=false)
    private String show_sfyx;//是否有效显示
 private String ckid; 	//仓库ID
    private String sfmr;//是否为默认 0非默认 1默认
 public void setId(String id){
     this.id=id;
 }
 public String getId(){
     return id;
 }
 public void setSskhid(String sskhid){
     this.sskhid=sskhid;
 }
 public String getSskhid(){
     return sskhid;
 }
 public void setSheng(String sheng){
     this.sheng=sheng;
 }
 public String getSheng(){
     return sheng;
 }
 public void setShi(String shi){
     this.shi=shi;
 }
 public String getShi(){
     return shi;
 }
 public void setXxdz(String xxdz){
     this.xxdz=xxdz;
 }
 public String getXxdz(){
     return xxdz;
 }
 public void setLxr(String lxr){
     this.lxr=lxr;
 }
 public String getLxr(){
     return lxr;
 }
 public void setLxdh(String lxdh){
     this.lxdh=lxdh;
 }
 public String getLxdh(){
     return lxdh;
 }
 public void setSfyx(String sfyx){
     this.sfyx=sfyx;
 }
 public String getSfyx(){
     return sfyx;
 }
 public void setCkid(String ckid){
     this.ckid=ckid;
 }
 public String getCkid(){
     return ckid;
 }

    public String getSfmr() {
        return sfmr;
    }

    public void setSfmr(String sfmr) {
        this.sfmr = sfmr;
    }

    public String getShow_sfyx() {
        return show_sfyx;
    }

    public void setShow_sfyx(String show_sfyx) {
        this.show_sfyx = show_sfyx;
    }
}

